package com.clj.fastble.callback;

import com.clj.fastble.exception.BleException;

/**
 * BleWriteCallback
 */
public abstract class BleWriteCallback extends BleBaseCallback {
    /**
     * onWriteSuccess
     * @param current current
     * @param total total
     * @param justWrite justWrite
     */
    public abstract void onWriteSuccess(int current, int total, byte[] justWrite);

    /**
     * onWriteFailure
     * @param exception exception
     */
    public abstract void onWriteFailure(BleException exception);
}
